/**
 * 生产管理路由
 */
import Layout from '@/layout'
export default [{
  path: '/production-management',
  name:'ProductionManagement',
  component: Layout,
  redirect: '/production-management/boar',
  meta: {
    title: '生产管理',
    icon: 'el-icon-c-scale-to-original'
  },
  children: [{
    path: 'boar',
    component: () => import('@/views/production-management/boar.vue'),
    name: 'Boar',
    meta: { title: '种猪管理' }
  },
  {
    path: 'pork',
    component: () => import('@/views/production-management/pork.vue'),
    name: 'Pork',
    meta: { title: '肉猪管理' }
  },
  // {
  //   path: 'pigling',
  //   component: () => import('@/views/production-management/pigling.vue'),
  //   name: 'Pigling',
  //   meta: { title: '猪仔管理' }
  // },
  // {
  //   path: 'task',
  //   component: () => import('@/views/production-management/task.vue'),
  //   name: 'Task',
  //   meta: { title: '代办任务' }
  // },
  ]
}]